#include "configwin.h"
#include "ui_configwin.h"
#include<QDebug>
ConfigWin::ConfigWin(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::ConfigWin)
{
    ui->setupUi(this);
}

ConfigWin::~ConfigWin()
{
    delete ui;
}

void ConfigWin::on_configButton_clicked()
{
    emit sendData(ui->configLabel->text());
//    this->deleteLater();//?
    this->hide();
}
